package com.helwen.entity;

import com.qianda.mall.common.enums.store.SaleType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * 商品详情
 * @author xay
 * @version 1.0
 * @since 2020/11/26
 */
@Data
public class GoodsInfoDto extends GoodsDto {


	@ApiModelProperty(value="商品产地图片")
    private List<String> detailImages;
	@ApiModelProperty(value="首页轮播图")
    private List<String> imageList;
    @ApiModelProperty(value="商品分享图片")
    private String shareImage;
    @ApiModelProperty(value="常温保质期")
    private String freshPeriod;
	@ApiModelProperty(value="可订时间开始")
    private LocalDate orderTimeStart;

	@ApiModelProperty(value="可订时间结束")
    private LocalDate orderTimeEnd;
	@ApiModelProperty(value="销售类型 字典值")
    private SaleType saleType;

	@ApiModelProperty(value="参考价格")
    private BigDecimal purchasePrice;

    @ApiModelProperty(value = "二级仓采购价格")
    private BigDecimal warehousePurchasePrice;
	@ApiModelProperty(value="销售金额")
    private BigDecimal salePrice;

	@ApiModelProperty(value="最小采购件数")
    private Integer minQuantity;
	@ApiModelProperty(value="最大采购件数")
    private Integer maxQuantity;
    @ApiModelProperty(value = "二级仓最小要货数量")
    private Integer warehouseMinQuantity;

	@ApiModelProperty(value="单件商品体积")
    private BigDecimal goodsVol;

	@ApiModelProperty(value="包装重量")
    private BigDecimal packWeight;

	@ApiModelProperty(value="结算周期")
    private Byte settlementPeriod;

	@ApiModelProperty(value="报损周期")
    private Byte lossPeriod;

	@ApiModelProperty(value="备货周期")
    private String leadTime;

	@ApiModelProperty(value="脱水率(小于1)")
    private BigDecimal dryRate;

	@ApiModelProperty(value="版本")
    private Integer version;

	@ApiModelProperty(value="备注")
    private String remark;

}
